@use '../_variables' as *;
@use '../_mixins' as *;
// About页面样式
.about {
  padding-top: $header-height;

  // 关于我们介绍
  &-intro {
    padding: $spacing-extra-large 0;
    
    &-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: $spacing-extra-large;
      align-items: center;
      
      @media (max-width: 768px) {
        grid-template-columns: 1fr;
      }
    }

    &-image {
      border-radius: $border-radius-base;
      overflow: hidden;
      
      img {
        width: 100%;
        height: auto;
      }
    }

    &-content {
      h2 {
        font-size: $font-size-extra-large;
        color: $text-primary;
        margin-bottom: $spacing-large;
      }

      p {
        font-size: $font-size-base;
        color: $text-regular;
        line-height: 1.8;
        margin-bottom: $spacing-base;
      }
    }
  }

  // 新闻动态
  &-news {
    padding: $spacing-extra-large 0;
    background: $background-color-base;

    &-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: $spacing-large;
      
      @media (max-width: 992px) {
        grid-template-columns: repeat(2, 1fr);
      }
      
      @media (max-width: 576px) {
        grid-template-columns: 1fr;
      }
    }

    &-card {
      background: $background-color-white;
      border-radius: $border-radius-base;
      overflow: hidden;
      transition: $transition-base;
      
      &:hover {
        transform: translateY(-5px);
        box-shadow: $box-shadow-base;
      }

      &-image {
        height: 200px;
        overflow: hidden;
        
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }

      &-content {
        padding: $spacing-large;
      }

      &-title {
        font-size: $font-size-large;
        color: $text-primary;
        margin-bottom: $spacing-base;
      }

      &-date {
        font-size: $font-size-small;
        color: $text-secondary;
        margin-bottom: $spacing-base;
      }

      &-description {
        font-size: $font-size-base;
        color: $text-regular;
        line-height: 1.6;
      }
    }
  }
} 